<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html style="height: 100%;width: 100%">
<head>
	<title></title>
    <%@include file="/WEB-INF/common/hplus-css.jsp"%>
    <style type="text/css">
      .inp{
            border: none;
        }
    </style>
</head>

<body class="gray-bg" style="height: 100%;width: 100%">
    <div class="wrapper wrapper-content animated fadeInRight" style="height: 100%;width: 100%">
        <div class="row" style="height: 100%;width: 100%">
            <div class="col-sm-12" style="height: 100%;width: 100%">
                <div class="ibox" style="height: 100%;width: 100%">
                    <div class="ibox-content" >
                        <form class="form-horizontal">
                        <div class="form-group" id="show" >
                            <label class="col-sm-3 control-label">袋子编码: </label>
                            <div class="col-sm-2">
                                <input class="form-control inp" value="${recycleRecord.sackId}" >
                            </div>
                            <label class="col-sm-1 control-label">结算日期: </label>
                            <div class="col-sm-2">
                                <input class="form-control inp" value="${recycleRecord.createDate}" >
                            </div>
                        </div>


                        <div class="form-group" id="show" >
                                <label class="col-sm-3 control-label">总价: </label>
                                <div class="col-sm-2">
                                    <input class="form-control inp" value="${recycleRecord.total}" >
                                </div>
                                <label class="col-sm-1 control-label">总重: </label>
                                <div class="col-sm-2">
                                    <input class="form-control inp" value="${recycleRecord.gross}" >
                                </div>
                        </div>


                            <div class="form-group" id="show" >
                                <label class="col-sm-3 control-label">减少收益: </label>
                                <div class="col-sm-2">
                                    <input class="form-control inp" value="${unsuitable.total}" >
                                </div>
                                <label class="col-sm-1 control-label">说明: </label>
                                <div class="col-sm-2">
                                    <input class="form-control inp" value="${unsuitable.anno}" >
                                </div>
                            </div>
                            <span style="float: left">回收物品</span>
                            <hr>

                            <c:forEach items="${wastes}" var="waste">
                            <div class="form-group" id="show" >
                                <label class="col-sm-3 control-label">名称</label>
                                <div class="col-sm-2">
                                    <input class="form-control inp" value="${waste.name}" >
                                </div>
                                <label class="col-sm-1 control-label">单价(元)</label>
                                <div class="col-sm-2">
                                    <input class="form-control inp" value="${waste.price}" >
                                </div>
                                <label class="col-sm-1 control-label">数量(kg)</label>
                                <div class="col-sm-2">
                                    <input class="form-control inp" value="${waste.num}" >
                                </div>
                            </div>
                            </c:forEach>


                        <div class="form-group" style="text-align: center;margin-bottom: 0px;">
                            <div class="col-sm-4 col-sm-offset-3" style="text-align: center">
                                <button class="btn btn-danger" onclick="window.parent.closeWind()" type="button">返回</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
   </div>
</body>
</html>
